<include file="Admin@default/public/header" />

<div class="toptit">触屏端配置</div>
<form action="{:U('edit')}" method="post">
    <div class="form_main width200">
        <div class="fl">触屏版域名:</div>
        <div class="fr">
            <input name="wap_domain" type="text" class="input_text_default middle" maxlength="100" value="{:C('qscms_wap_domain')}"/>
            <label class="no-fl-note">(结尾不要加"/"，如：http://m.74cms.com)</label>
        </div>
        <div class="fl">职位统计基数:</div>
        <div class="fr">
            <input name="jobs_base" type="text" class="input_text_default middle" maxlength="10" value="{:C('qscms_jobs_base')}" onkeyup="if(event.keyCode !=37 && event.keyCode != 39) value=value.replace(/\D/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/> 条
        </div>
        <div class="fl">简历统计基数:</div>
        <div class="fr">
            <input name="resume_base" type="text" class="input_text_default middle" maxlength="10" value="{:C('qscms_resume_base')}" onkeyup="if(event.keyCode !=37 && event.keyCode != 39) value=value.replace(/\D/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/> 条
        </div>
        <if condition="C('apply.Subsite')">
            <div class="fl">分站选择样式:</div>
            <div class="fr link_green">
                <div class="imgradio">
                    <input name="mobile_subsite_choose_type" type="hidden" value="{:C('qscms_mobile_subsite_choose_type')}">
                    <div class="radio <eq name='Think.config.qscms_mobile_subsite_choose_type' value='simple'>select</eq>" data="simple" title="简易模式">
                        简易模式 <a class="vtip" href="javascript:;" title="<img src=../public/images/244.png width=270 height=480 border=0 align=absmiddle>">[预览]</a>
                    </div>
                    <div class="radio <eq name='Think.config.qscms_mobile_subsite_choose_type' value='complex'>select</eq>" data="complex" title="高级模式">
                        高级模式 <a class="vtip" href="javascript:;" title="<img src=../public/images/243.png width=270 height=480 border=0 align=absmiddle>">[预览]</a>
                    </div>
                    <label class="note-radio">(分站不多时推荐使用简易模式，反之使用高级模式)</label>
                    <div class="clear"></div>
                </div>
            </div>
        </if>
        <div class="fl">底部导航是否开启:</div>
        <div class="fr">
            <div class="imgradio">
                <input name="footer_nav_status" type="hidden" value="{:C('qscms_footer_nav_status')}">
                <div class="radio <eq name='Think.config.qscms_footer_nav_status' value='1'>select</eq>" data="1" title="是">是</div>
                <div class="radio <eq name='Think.config.qscms_footer_nav_status' value='0'>select</eq>" data="0" title="否">否</div>
                <div class="clear"></div>
            </div>
        </div>
        <div class="fl">页面是否全屏显示:</div>
        <div class="fr">
            <div class="imgradio">
                <input name="page_full_screen" type="hidden" value="{:C('qscms_page_full_screen')}">
                <div class="radio <eq name='Think.config.qscms_page_full_screen' value='1'>select</eq>" data="1" title="是">是</div>
                <div class="radio <eq name='Think.config.qscms_page_full_screen' value='0'>select</eq>" data="0" title="否">否</div>
                <label class="note-radio">(部分浏览器不支持全屏显示)</label>
                <div class="clear"></div>
            </div>
        </div>
        <div class="fl">暂时关闭触屏版:</div>
        <div class="fr">
            <div class="imgradio">
                <input name="mobile_isclose" type="hidden" value="{:C('qscms_mobile_isclose')}">
                <div class="radio mobile_isclose <eq name='Think.config.qscms_mobile_isclose' value='1'>select</eq>" data="1" title="是">是</div>
                <div class="radio mobile_isclose <eq name='Think.config.qscms_mobile_isclose' value='0'>select</eq>" data="0" title="否">否</div>
                <div class="clear"></div>
            </div>
        </div>
        <div class="mobile_close_reason" <eq name='Think.config.qscms_mobile_isclose' value='0'>style="display:none"</eq>>
            <div class="fl">关闭原因:</div>
            <div class="fr">
                <textarea name="mobile_close_reason" class="input_text_default middle" style="height: 80px; line-height: 180%;">{:C('qscms_mobile_close_reason')}</textarea>
            </div>
        </div>
        <div class="fl">第三方流量统计代码:</div>
        <div class="fr">
            <textarea name="mobile_statistics" class="input_text_default middle" style="height: 80px; line-height: 180%;">{:C('qscms_mobile_statistics')}</textarea>
        </div>
        <div class="fl"></div>
        <div class="fr">
            <input type="submit" class="admin_submit" value="保存"/>
            <input type="button" class="admin_submit" value="返回" onClick="history.go(-1)"/>
        </div>
        <div class="clear"></div>
    </div>
</form>

<div class="toptit">触屏端优惠设置</div>
<form action="{:U('edit')}" method="post">
    <div class="form_main width200">
        <div class="fl">购买套餐优惠类型:</div>
        <div class="fr">
            <div class="imgradio">
                <input name="mobile_setmeal_discount_type" type="hidden" value="{:C('qscms_mobile_setmeal_discount_type')}">
                <div class="radio mobile_setmeal_discount_type <eq name='Think.config.qscms_mobile_setmeal_discount_type' value='1'>select</eq>" data="1" title="折扣">折扣</div>
                <div class="radio mobile_setmeal_discount_type <eq name='Think.config.qscms_mobile_setmeal_discount_type' value='0'>select</eq>" data="0" title="减免">减免</div>
                <div class="clear"></div>
            </div>
        </div>
        <div class="fl">购买套餐优惠:</div>
        <div class="fr">
            <input name="mobile_setmeal_discount_value" type="text" class="input_text_default small" maxlength="30" value="{:C('qscms_mobile_setmeal_discount_value')}" onkeyup="if(event.keyCode !=37 && event.keyCode != 39) value=value.replace(/\D/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/>
            <span class="no-fl-note">(请输入折扣或者减免金额，如7折请输入70，0为不优惠)</span>
        </div>
        <div class="fl">购买增值服务优惠类型:</div>
        <div class="fr">
            <div class="imgradio">
                <input name="mobile_setmeal_increment_discount_type" type="hidden" value="{:C('qscms_mobile_setmeal_increment_discount_type')}">
                <div class="radio mobile_setmeal_increment_discount_type <eq name='Think.config.qscms_mobile_setmeal_increment_discount_type' value='1'>select</eq>" data="1" title="折扣">折扣</div>
                <div class="radio mobile_setmeal_increment_discount_type <eq name='Think.config.qscms_mobile_setmeal_increment_discount_type' value='0'>select</eq>" data="0" title="减免">减免</div>
                <div class="clear"></div>
            </div>
        </div>
        <div class="fl">购买增值服务优惠:</div>
        <div class="fr">
            <input name="mobile_setmeal_increment_discount_value" type="text" class="input_text_default small" maxlength="30" value="{:C('qscms_mobile_setmeal_increment_discount_value')}" onkeyup="if(event.keyCode !=37 && event.keyCode != 39) value=value.replace(/\D/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/>
            <span class="no-fl-note">(请输入折扣或者减免金额，如7折请输入70，0为不优惠)</span>
        </div>
        <div class="fl">优惠引导二维码url:</div>
        <div class="fr">
            <input name="mobile_discount_qrcode_url" type="text" class="input_text_default" maxlength="30" value="{:C('qscms_mobile_discount_qrcode_url')}"/>
        </div>
        <div class="fl">刷新职位额外次数:</div>
        <div class="fr">
            <input name="refresh_jobs_more" type="text" class="input_text_default small" maxlength="30" value="{:C('qscms_refresh_jobs_more')}" onkeyup="if(event.keyCode !=37 && event.keyCode != 39) value=value.replace(/\D/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/>
            <span class="no-fl-note">(触屏版中免费刷新职位次数达到上限后可用额外次数刷新)</span>
        </div>
        <div class="fl"></div>
        <div class="fr">
            <input type="submit" class="admin_submit" value="保存"/>
            <input type="button" class="admin_submit" value="返回" onClick="history.go(-1)"/>
        </div>
        <div class="clear"></div>
    </div>
</form>
<div class="toptit">触屏端极验设置</div>
<form action="{:U('edit')}" method="post">
    <div class="form_main width200">
        <div class="fl">开启验证:</div>
        <div class="fr">
            <div class="imgradio">
                <input name="mobile_captcha_open" type="hidden" value="{:C('qscms_mobile_captcha_open')}">
                <div class="radio mobile_captcha <eq name='Think.config.qscms_mobile_captcha_open' value='1'>select</eq>" data="1" title="开启">开启</div>
                <div class="radio mobile_captcha <eq name='Think.config.qscms_mobile_captcha_open' value='0'>select</eq>" data="0" title="关闭">关闭</div>
                <div class="clear"></div>
            </div>
        </div>
        <div class="captcha_show" <eq name='Think.config.qscms_mobile_captcha_open' value='0'>style="display:none"</eq>>
            <div class="fl">极验ID:</div>
            <div class="fr">
                <input name="mobile_captcha[id]" type="text" class="input_text_default middle" maxlength="100" value="{:C('qscms_mobile_captcha.id')}"/>
            </div>
            <div class="fl">极验KEY:</div>
            <div class="fr">
                <input name="mobile_captcha[key]" type="text" class="input_text_default middle" maxlength="100" value="{:C('qscms_mobile_captcha.key')}"/>
            </div>
        </div>
        <div class="fl"></div>
        <div class="fr">
            <input type="submit" class="admin_submit" value="保存"/>
            <input type="button" class="admin_submit" value="返回" onClick="history.go(-1)"/>
        </div>
        <div class="clear"></div>
    </div>
</form>

<div class="verify_options_show" <eq name='Think.config.qscms_mobile_captcha_open' value='0'>style="display:none"</eq>>
    <div class="toptit">验证项目</div>
    <form action="{:U('edit')}" method="post">
        <div class="form_main width200">
            <div class="fl">注册验证:</div>
            <div class="fr">
                <div class="imgradio">
                    <input name="wap_captcha_config[varify_reg]" type="hidden" value="{:C('qscms_wap_captcha_config.varify_reg')}">
                    <div class="radio <if condition="C('qscms_wap_captcha_config.varify_reg') eq 1">select</if>" data="1" title="开启">开启</div>
                    <div class="radio <if condition="C('qscms_wap_captcha_config.varify_reg') eq 0">select</if>" data="0" title="关闭">关闭</div>
                    <label class="note-radio">(开启后，用户在注册时需要验证)</label>
                    <div class="clear"></div>
                </div>
            </div>
            <div class="fl">手机验证:</div>
            <div class="fr">
                <div class="imgradio">
                    <input name="wap_captcha_config[varify_mobile]" type="hidden" value="{:C('qscms_wap_captcha_config.varify_mobile')}">
                    <div class="radio <if condition="C('qscms_wap_captcha_config.varify_mobile') eq 1">select</if>" data="1" title="开启">开启</div>
                    <div class="radio <if condition="C('qscms_wap_captcha_config.varify_mobile') eq 0">select</if>" data="0" title="关闭">关闭</div>
                    <label class="note-radio">(开启后，用户在获取短信验证码时需要验证)</label>
                    <div class="clear"></div>
                </div>
            </div>
            <div class="fl">意见/建议:</div>
            <div class="fr">
                <div class="imgradio">
                    <input name="wap_captcha_config[varify_suggest]" type="hidden" value="{:C('qscms_wap_captcha_config.varify_suggest')}">
                    <div class="radio <if condition="C('qscms_wap_captcha_config.varify_suggest') eq 1">select</if>" data="1" title="开启">开启</div>
                    <div class="radio <if condition="C('qscms_wap_captcha_config.varify_suggest') eq 0">select</if>" data="0" title="关闭">关闭</div>
                    <label class="note-radio">(开启后，用户在提交意见建议时需要验证)</label>
                    <div class="clear"></div>
                </div>
            </div>
            <div class="fl">会员登录:</div>
            <div class="fr">
                <input name="wap_captcha_config[user_login]" type="text" class="input_text_default small" maxlength="10" value="{:C('qscms_wap_captcha_config.user_login')}" onkeyup="if(event.keyCode !=37 && event.keyCode != 39) value=value.replace(/\D/g,'');" onbeforepaste="clipboardData.setData('text',clipboardData.getData('text').replace(/\D/g,''))"/> 次
                <label class="no-fl-note">(0为开启验证码，如设置为3，则错误3次才需要验证)</label>
            </div>
            <div class="fl"></div>
            <div class="fr">
                <input type="submit" class="admin_submit" value="保存"/>
                <input type="button" class="admin_submit" value="返回" onClick="history.go(-1)"/>
            </div>
            <div class="clear"></div>
        </div>
    </form>
</div>

<div class="toptit">APP下载设置</div>
<form action="{:U('edit')}" method="post">
    <div class="form_main width200">
        <div class="fl">Android下载链接:</div>
        <div class="fr">
            <input name="android_download" type="text" class="input_text_default middle" maxlength="100" value="{:C('qscms_android_download')}"/>
        </div>
        <div class="fl">IOS下载链接:</div>
        <div class="fr">
            <input name="ios_download" type="text" class="input_text_default middle" maxlength="100" value="{:C('qscms_ios_download')}"/>
        </div>
        <div class="fl"></div>
        <div class="fr">
            <input type="submit" class="admin_submit" value="保存"/>
            <input type="button" class="admin_submit" value="返回" onClick="history.go(-1)"/>
        </div>
        <div class="clear"></div>
    </div>
</form>

</div>
<include file="Admin@default/public/footer" />
</body>
<script type="text/javascript">
    $(document).ready(function () {
        // 是否关闭触屏版
        $(".mobile_isclose").live('click', function () {
            if($(this).attr('data') == 0){
                $(".mobile_close_reason").hide();
            } else {
                $(".mobile_close_reason").show();
            }
        });
        // 极验是否开启
        $(".mobile_captcha").live('click', function () {
            if($(this).attr('data') == 0){
                $(".captcha_show").hide();
                $(".verify_options_show").hide();
            } else {
                $(".captcha_show").show();
                $(".verify_options_show").show();
            }
        });
    });
</script>
</html>